import subprocess
import os

def build():
    subprocess.run(["pyinstaller", "--onefile", "main.py"], check=True)

if __name__ == "__main__":
    build()